import request from '@/utils/request';

// 登录
export function login(data) {
  return request({
    url: '/hjj/login',
    method: 'post',
    data,
  });
}

// 注册
export function register(data) {
  return request({
    url: '/hjj/register',
    method: 'post',
    data,
  });
}
